%\newcommand\uv[1]{\quotedblbase #1\textquotedblleft}%
\def\bfseries{\fontseries \bfdefault \selectfont \boldmath}

\newcommand{\real}[1]{\mathrm{Re}#1}
\newcommand{\realpow}[1]{\mathrm{Re}^2#1}
\newcommand{\imag}[1]{\mathrm{Im}#1}
\newcommand{\imagpow}[1]{\mathrm{Im}^2#1}

\theoremstyle{break}
\theorembodyfont{\normalfont}
\theoremheaderfont{\bf}
\theoremsymbol{} 
\theoremseparator{:}
\newtheorem{example}{Příklad}[chapter]



\theoremstyle{plain}
\theoremheaderfont{\em}
\theorembodyfont{\normalfont}
\theoremseparator{\normalfont{}:}
\theoremsymbol{\ensuremath{\checkmark}}
%\theorempostwork{\hfill\ensuremath{\checkmark}}
\newtheorem*{solution}{Řešení}


\theorembodyfont{\normalfont}
\theoremseparator{:}
\theoremsymbol{\ensuremath{\blacktriangleright}} 
\newtheorem{definition}{Definice}[chapter]

\theorembodyfont{\em}
\theoremsymbol{}
\theoremseparator{:}
\theoremheaderfont{\bf}
\newtheorem{theorem}{Věta}[chapter]

\theorembodyfont{\normalfont}
\theoremseparator{:}
\theoremsymbol{\ensuremath{\Box}} 
\newtheorem*{note}{Poznámka}

\theorembodyfont{\normalfont}
\theoremseparator{:}
\theoremsymbol{\ensuremath{\blacksquare}} 
\theoremheaderfont{\em}
\newtheorem*{proof}{Důkaz}


\newtheoremstyle{mybreak}%
   {\item[\hskip\labelsep \normalfont (##2)]\normalfont}%
   {\item[\hskip\labelsep \normalfont (##2)\ (##3)]\normalfont} 

\newtheoremstyle{mybreak1}%
  {\item \bfseries ##1 ##2.}
  {\item {\bf ##1}\ {\bf ##2}\ {\bf (##3)}\hfill\vspace{0.04cm}\hrule height 1pt}



%\theoremstyle{changebreak}
\theoremstyle{mybreak1}
\theoremheaderfont{\normalfont\bfseries}
\theoremsymbol{}
\theoremprework{\bigskip\hrule height 1pt  \vspace{-0.29cm}}
\theorempostwork{\vspace{-0.25cm}\hrule height 1pt \bigskip}
\newtheorem{algoritmus}{Postup}[chapter]

\theoremstyle{mybreak1}
\theoremheaderfont{\normalfont\bfseries}
\theoremsymbol{}
\theoremprework{\bigskip\hrule height 1pt  \vspace{-0.080cm}}
\theorempostwork{\vspace{-0.15cm}\hrule height 1pt \bigskip}
\newtheorem{algoritmusprvni}[algoritmus]{Postup}






\theoremstyle{mybreak1}
\theoremheaderfont{\normalfont\bfseries}
\theoremsymbol{}
\theoremprework{\bigskip\hrule height 0.9pt  \vspace{-0.29cm}}
\theorempostwork{ \bigskip}

\newtheorem{algoritmusBezKoncoveCary}[algoritmus]{Postup}
%\newtheorem{algoritmusprvni}[algoritmusBezKoncoveCary]{Postup}

%\floatstyle{ruled}
%\newfloat{algorithm}{htbp}{loa}
%\floatname{algorithm}{Algorithm}
